package org.bigdata.platform.exception;

public enum ErrorCode {
	
	UNKNOWN("EC0001","UNKNOWN"),
	INVALID_URL("EC0002", "Invalid URL");
	
	private ErrorCode(String code, String message) {
		this.message = message;
		this.code = code;
	}

	private String message;
	
	private String code;

	public String getMessage() {
		return message;
	}

	public String getCode() {
		return code;
	}
	
	public String getCompleteMessage() {
		return code + ":" + message;
	}
	
}
